package com.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author pumpkin
 * @since 2021-12-20
 */
@TableName("shares_business")
public class SharesBusiness extends Model<SharesBusiness> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String code;
    private String name;
    @TableField("gross_rpofit_ratio")
    private String grossRpofitRatio;
    @TableField("item_name")
    private String itemName;
    @TableField("mainop_type")
    private String mainopType;
    @TableField("main_business_cost")
    private String mainBusinessCost;
    @TableField("main_business_income")
    private String mainBusinessIncome;
    @TableField("main_business_rpofit")
    private String mainBusinessRpofit;
    @TableField("mbc_ratio")
    private String mbcRatio;
    @TableField("mbi_ratio")
    private String mbiRatio;
    @TableField("mbr_ratio")
    private String mbrRatio;
    private String rank;
    @TableField("report_date")
    private String reportDate;
    private String secucode;
    @TableField("security_code")
    private String securityCode;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrossRpofitRatio() {
        return grossRpofitRatio;
    }

    public void setGrossRpofitRatio(String grossRpofitRatio) {
        this.grossRpofitRatio = grossRpofitRatio;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getMainopType() {
        return mainopType;
    }

    public void setMainopType(String mainopType) {
        this.mainopType = mainopType;
    }

    public String getMainBusinessCost() {
        return mainBusinessCost;
    }

    public void setMainBusinessCost(String mainBusinessCost) {
        this.mainBusinessCost = mainBusinessCost;
    }

    public String getMainBusinessIncome() {
        return mainBusinessIncome;
    }

    public void setMainBusinessIncome(String mainBusinessIncome) {
        this.mainBusinessIncome = mainBusinessIncome;
    }

    public String getMainBusinessRpofit() {
        return mainBusinessRpofit;
    }

    public void setMainBusinessRpofit(String mainBusinessRpofit) {
        this.mainBusinessRpofit = mainBusinessRpofit;
    }

    public String getMbcRatio() {
        return mbcRatio;
    }

    public void setMbcRatio(String mbcRatio) {
        this.mbcRatio = mbcRatio;
    }

    public String getMbiRatio() {
        return mbiRatio;
    }

    public void setMbiRatio(String mbiRatio) {
        this.mbiRatio = mbiRatio;
    }

    public String getMbrRatio() {
        return mbrRatio;
    }

    public void setMbrRatio(String mbrRatio) {
        this.mbrRatio = mbrRatio;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getReportDate() {
        return reportDate;
    }

    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    public String getSecucode() {
        return secucode;
    }

    public void setSecucode(String secucode) {
        this.secucode = secucode;
    }

    public String getSecurityCode() {
        return securityCode;
    }

    public void setSecurityCode(String securityCode) {
        this.securityCode = securityCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SharesBusiness{" +
        ", id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", grossRpofitRatio=" + grossRpofitRatio +
        ", itemName=" + itemName +
        ", mainopType=" + mainopType +
        ", mainBusinessCost=" + mainBusinessCost +
        ", mainBusinessIncome=" + mainBusinessIncome +
        ", mainBusinessRpofit=" + mainBusinessRpofit +
        ", mbcRatio=" + mbcRatio +
        ", mbiRatio=" + mbiRatio +
        ", mbrRatio=" + mbrRatio +
        ", rank=" + rank +
        ", reportDate=" + reportDate +
        ", secucode=" + secucode +
        ", securityCode=" + securityCode +
        "}";
    }
}
